.TH std::experimental::observer_ptr::operatorbool 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::observer_ptr::operatorbool \- std::experimental::observer_ptr::operatorbool

.SH Synopsis
   constexpr explicit operator bool() const noexcept;  (library fundamentals TS v2)

   Checks whether *this has an associated watched object, i.e. whether get() !=
   nullptr.

.SH Parameters

   \fI(none)\fP

.SH Return value

   true if *this has an associated watched object, false otherwise.

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   get returns a pointer to the watched object
       \fI(public member function)\fP

.SH Category:
     * Todo no example
